ul, body{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
a{
    text-decoration: none; 
    color: #fff;
    margin-right: 10px;
}
nav{
    display: block;
}
body {
    line-height: 1; 
    font-family: sans-serif;
}
ul {
    list-style: none; 
}
hr{
    height: 1px;
    background: #066;	
    border-bottom: 1px solid #3cc;
}

.container_header{
    width: 980px;
    margin: 0 auto;
    overflow-y: visible;
}

.logo{
    text-indent: -2000em;
    background: url("../images/logo_1.png") no-repeat;
    margin: 0 auto;
    width: 285px;
    height: 100px;
}

.nav{
    text-align: center;
    width: 70%;
    float: left;
}

.nav ul li{
    font-size: 14pt;
    height: 100%;
    padding: 2px 2px;
    display: inline;
}

.nav ul li a{
    text-indent: 5em;
    color: #fff;
    opacity: 0.5;
    padding: 2px 3px;
}

.nav ul li a:hover{
    opacity: 1;
    transition: 0.5s;
    border-bottom: 1px solid #fff; 
    width: 500px;
    overflow: visible;
}

.overlay{
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    height: 60px;
    border-top: solid 8px #666;
    background: #333;
    z-index: -1;
}

.row:before,
.row:after {
    display: table;
    content: " ";
}

.row:after {
    clear: both;
}

.sprite{background: url("../images/sprite-small.png") no-repeat; 
              width: 25px;
              height: 25px;
              display: inline-block;
              margin-right: 5px; }
.home{background-position: 0 2px;}
.serve{background-position: -25px 2px;}
.setting{background-position: -50px 2px;}
.user{background-position: -75px 2px;}
.tool{background-position: -100px 2px;}
.lock{background-position: -125px 2px;}
.unlock{background-position: -150px 2px;}
.link{background-position: -175px 2px;}
.logout{background-position: -200px 2px;}
.message{background-position: -225px 2px;}

.welcome{
    float: right;
    display: inline-block;
}

.welcome a{
    opacity: 1;
}

.welcome a:hover{
    opacity: 1;
    transition: 0.5s;
    border-bottom: 1px solid red;
    color: red;
}